﻿namespace Common;

public class CronHelper
{
    /// <summary>
    /// 每秒一次
    /// </summary>
    public static string EverySecond { get; set; } = "*/1 * * * * ?";
    /// <summary>
    /// 每五秒一次
    /// </summary>
    public static string EveryFiveSecond { get; set; } = "*/5 * * * * ?";
    /// <summary>
    /// 每分钟一次
    /// </summary>
    public static string EveryMin { get; set; } = "0 */1 * * * ?";
    /// <summary>
    /// 每小时一次
    /// </summary>
    public static string EveryHour { get; set; } = "0 0 */2 * * ?";
}